package work.xiaohong.mina.message;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @author Kevin
 * @data 4/23/2022 7:32 PM
 * @description Move Carrier消息
 **/

@Data
@ToString
public class MoMessage extends PlcMessageHead implements Serializable {

  /**
   * Indicates the event that has occurred for the specific component.
   * The event type also indicates what kind of key/value pairs can be expect.
   */
  private String evt;

  /**
   * The unique identification of the conveyor system component on which the event occurred.
   */
  private String com;

  /**
   * The identification of the carrier, usually this would be the content of the scanned barcode.
   */
  private String car;

  /**
   * A list of integer direction codes(integer) ordered by high to low priority. The List should at least contain a single direction code.
   */
  private List<Integer> dir;

}
